<?php
if($strStyleSheet == TRUE){
	echo "<table class='Normal' border='0' align='left' width='450'>";
}	
     echo "
     <tr align='left'>
         <td align='left' colspan='2'>
             <H2>Referrer Search Result</H2>
         </td>
     </tr>
";
//include (MODULE . "/screen/SearchReferrer");
//include (MODULE . "/action/qrySelectReferrer");
        //echo $strSQL;
if(!$myrow[0]==""){
     do {

echo "
     <tr bgcolor='".switch_background($boBG)."'>
         <td align='left'>
             <a href='" . ScreenURL("DisplayReferrer",array('intReferrerID'=>$myrow[0]) ) . "' target='_blank'>
             <img src='./images".SITE_SUFFIX."/update.gif' border='0' alt='Update' align='middle'></a>
         </td>
		<td>
			".$myrow["Referrer"]."
		</td>

         <td align='right'>
              <a href=\"" . ScreenURL("SearchReferrer",array('intReferrerID'=>$myrow[0],'ACTION'=>"qryDeleteReferrer") ) . "\"
                 onclick=\"return confirmLink(this, 'Delete ');\">
              <img src='./images".SITE_SUFFIX."/delete.gif' border='0' alt='Delete' align='middle'></a>
         </td>

     </tr>
";

         $boBG = -1 - $boBG;
     } while ($myrow = mysql_fetch_array($result));
}else{
echo "
     <tr class='MandatoryRed'><br/>
         <td colspan='2'>
             Your Search Has Returned No Results.
         </td>
     </tr>
";
}
if($strStyleSheet == TRUE){
	echo "</table>";
}
?>
